Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications


check-agent-mode

This function returns TRUE if the agent is running in the specified mode (development or production).

Location: web\objects\web-util.p

Parameters:

INPUT p_mode AS CHARACTER

The environment mode of the transaction server, either “production”, “development”, or “evaluation”.

Returns: LOGICAL

Notes: This function does not compare for equality because the environment mode setting might contain other, user-defined options.

Examples: See the init-session procedure in web\objects\web-util.p.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095